package com.edais.persistence.gift;

import com.edais.domain.gift.GiftPackageGiftOrder;

import java.util.List;
import java.util.Map;

/**
 * 礼包和礼品映射
 * Created by haoyx on 2016/11/10.
 */
public interface GiftPackageGiftOrderMapper {

    int deleteByPrimaryKey(Long id);

    int insert(GiftPackageGiftOrder order);

    GiftPackageGiftOrder selectByPrimaryKey(Long id);

    void updateOrderStatus(GiftPackageGiftOrder order);

    GiftPackageGiftOrder selectGiftPackageGiftOrder(Map<String, Object> params);

    List<GiftPackageGiftOrder> selectGiftPackageGiftOrderList(Map<String,Object> params);

    int countGiftPackageGiftOrders(Map<String,Object> params);

}
